package com.jy.blog.model;

import java.sql.Date;

public class Article {
    private int artId;
   
    private String artTitle;
    private String artContent;
    private String artDate;
	private String adPhoto;
	private String author;
	public Article(){
		
	}
	public Article(int artId, String artTitle, String artContent, String artDate, String adPhoto,
			String author) {
		
		this.artId = artId;
		
		this.artTitle = artTitle;
		this.artContent = artContent;
		this.artDate = artDate;
		this.adPhoto = adPhoto;
		this.author = author;
	}
	public int getArtId() {
		return artId;
	}
	public void setArtId(int artId) {
		this.artId = artId;
	}
	public String getArtTitle() {
		return artTitle;
	}
	public void setArtTitle(String artTitle) {
		this.artTitle = artTitle;
	}
	public String getArtContent() {
		return artContent;
	}
	public void setArtContent(String artContent) {
		this.artContent = artContent;
	}
	public String getArtDate() {
		return artDate;
	}
	public void setArtDate(String artDate) {
		this.artDate = artDate;
	}
	public String getAdPhoto() {
		return adPhoto;
	}
	public void setAdPhoto(String adPhoto) {
		this.adPhoto = adPhoto;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	@Override
	public String toString() {
		return "Article [artId=" + artId + ", artTitle=" + artTitle + ", artContent="
				+ artContent + ", artDate=" + artDate + ", adPhoto=" + adPhoto + ", author=" + author + "]";
	}
	
	
}